home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / alog.z / alog
Encoding:
Text File  |  1998-10-30  |  4.7 KB  |  122 lines

  1. ALOG(3M)                                               Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      AALLOOGG, DDLLOOGG, CCLLOOGG, CCDDLLOOGG - Computes natural logarithm
  6.  
  7. SSYYNNOOPPSSIISS
  8.      UNICOS and UNICOS/mk systems:
  9.  
  10.      AALLOOGG (([XX==]_x))
  11.      DDLLOOGG (([XX==]_x))
  12.      CCLLOOGG (([XX==]_x))
  13.  
  14.      UNICOS and IRIX systems:
  15.      CCDDLLOOGG (([XX==]_x))
  16.  
  17. IIMMPPLLEEMMEENNTTAATTIIOONN
  18.      UNICOS, UNICOS/mk, and IRIX systems
  19.  
  20. SSTTAANNDDAARRDDSS
  21.      Fortran 90
  22.      CCDDLLOOGG is a compiler extension to Fortran 90.
  23.  
  24. DDEESSCCRRIIPPTTIIOONN
  25.      LLOOGG is the generic function name.  AALLOOGG, DDLLOOGG, and CCLLOOGG are intrinsic
  26.      and elemental functions for CF90.
  27.  
  28.      A vector version of this intrinsic exists on UNICOS and UNICOS/mk
  29.      systems.  On UNICOS/mk systems, the vector version of this intrinsic
  30.      is used when --hh vveeccttoorr33 (C compiler) or --OO vveeccttoorr33 or --OO33 (Fortran
  31.      compiler) has been specified on the compiler command line.
  32.  
  33.      The entry point CCDDLLOOGG is provided for support in other languages.  It
  34.      is not recognized as an intrinsic function; therefore, you must use
  35.      the CCDDIIRR$$ VVFFUUNNCCTTIIOONN directive to allow vectorization.
  36.  
  37.      These functions evaluate _y = ln(_x).
  38.  
  39.    CCFF9900
  40.      CCDDLLOOGG is called implicitly by the Fortran 90 compiler as a result of a
  41.      generic AALLOOGG call with a complex double-precision argument.
  42.  
  43.    CCAALL RReeggiisstteerr UUssaaggee ((CCrraayy RReesseeaarrcchh SSyysstteemmss OOnnllyy))
  44.      Scalar AALLOOGG:  AALLOOGG%% (call-by-register)
  45.           on entry   (S1) = argument
  46.           on exit    (S1) = result
  47.  
  48.      Vector AALLOOGG:  %%AALLOOGG%% (call-by-register)
  49.           on entry   (V1) = argument vector
  50.           on exit    (V1) = result vector
  51.  
  52.      Scalar DDLLOOGG:  DDLLOOGG%% (call-by-register)
  53.           on entry   (S1) and (S2) = argument
  54.           on exit    (S1) and (S2) = result
  55.  
  56.      Vector DDLLOOGG:  %%DDLLOOGG%% (call-by-register)
  57.           on entry   (V1) and (V2) = argument vector
  58.           on exit    (V1) and (V2) = result vector
  59.  
  60.      Scalar CCLLOOGG:  CCLLOOGG%% (call-by-register)
  61.           on entry   (S1) and (S2) = argument
  62.           on exit    (S1) and (S2) = result
  63.  
  64.      Vector CCLLOOGG:  %%CCLLOOGG%% (call-by-register)
  65.           on entry   (V1) and (V2) = argument vector
  66.           on exit    (V1) and (V2) = result vector
  67.  
  68.      Scalar CCDDLLOOGG:  CCDDLLOOGG%% (call-by-register)
  69.           on entry   (S1), (S2), (S3), (S4) = argument
  70.           on exit    (S1), (S2), (S3), (S4) = result
  71.  
  72.      Vector CCDDLLOOGG:  %%CCDDLLOOGG%% (call-by-register)
  73.           on entry   (V1), (V2), (V3), (V4) = argument vector
  74.           on exit    (V1), (V2), (V3), (V4) = result vector
  75.  
  76.    AArrgguummeenntt RRaannggee                2450
  77.      infinity is approximately 10
  78.                                                        308
  79.      On UNICOS/mk systems, infinity is approximately 10
  80.  
  81.      AALLOOGG,, DDLLOOGG:  0 < _x < infinity
  82.  
  83.      CCLLOOGG:  _x must not be (0,0).
  84.  
  85.      CCDDLLOOGG (all systems except UNICOS/mk systems):  _x must not be (0,0).
  86.  
  87. NNOOTTEESS
  88.      CCDDLLOOGG is an outmoded routine for CF90.  Refer to the _F_o_r_t_r_a_n _L_a_n_g_u_a_g_e
  89.      _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, _V_o_l_u_m_e _3, publication SR-3905, for information about
  90.      outmoded features and their preferred standard alternatives.
  91.  
  92.      The name of the AALLOOGG, DDLLOOGG, and CCLLOOGG intrinsic can be passed as an
  93.      argument.  The name of the CCDDLLOOGG intrinsic cannot be passed as an
  94.      argument.
  95.  
  96. RREETTUURRNN VVAALLUUEESS
  97.      AALLOOGG returns the real natural logarithm of its real argument.
  98.  
  99.      DDLLOOGG returns the double-precision natural logarithm of its
  100.      double-precision argument.
  101.  
  102.      CCLLOOGG returns the complex natural logarithm of its complex argument.
  103.  
  104.      CCDDLLOOGG returns the complex double-precision natural logorithm of its
  105.      complex double-precision argument.
  106.  
  107.      On CRAY T90 systems that support IEEE arithmetic, the following return
  108.      values occur:
  109.  
  110.           AALLOOGG((00)) = - infinity
  111.  
  112.           AALLOOGG((-0)) = NaN
  113.  
  114.           AALLOOGG((_x)) = NaN if - infinity <= _x < 0
  115.  
  116.           AALLOOGG(( infinity )) = infinity
  117.  
  118. SSEEEE AALLSSOO
  119.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  120.      printed version of this man page.
  121.  
  122.